package com.ruoyi.floor.domain.ro;

import com.ruoyi.user.domain.HsUser;
import lombok.Data;

@Data
public class RegisterFloorRo {
    private Long id;
    private String floorXqName;
    private String floorName;
    private Byte floorStatus = 1;
    private Long xqId;

    public static RegisterFloorRo setRegisterFloorRo(HsUser hsUser){
        RegisterFloorRo registerFloorRo = new RegisterFloorRo();
        registerFloorRo.setFloorName(hsUser.getUserFloor());
        registerFloorRo.setFloorXqName(hsUser.getUserXq());
        return registerFloorRo;
    }
}
